/**************************************************************************************
*
*	Copyright (C) 2010 Brent Andrew O. Chua - See LICENSE.txt for more info.
*		
*	Filename	-	GUIImage.h
*
*	Description -	Graphical screen object interface classes.
*
*	Comments	-	
*					
*	Modification History:
*			Name			   Date					Description
*			CodeSushi	-	06/18/11	-	Creation of this file
**************************************************************************************/

#ifndef _PSX_GUI_IMAGE_H_
#define _PSX_GUI_IMAGE_H_

#include "PulseSTD.h"
#include "GUIInterfaces.h"
#include "String.h"

namespace Pulse
{
	class GUIImage : public GUIBase
	{
	public:

		GUIImage( const CHAR *pFileName );
		virtual ~GUIImage( void );

		virtual EErrorCode::Type	OnRestore( void );
		virtual EErrorCode::Type	OnRender( DOUBLE time, FLOAT dt );
		virtual void				OnUpdate( INT deltaMilliSeconds ) { }
		virtual EErrorCode::Type	OnMsgProc( AppMsg msg );

	private:

		String	m_fileName;
		Texture *m_pTexture;

	};
}

#endif /* _PSX_GUI_IMAGE_H_ */